package com.ara.account.contract;

import com.ara.account.bean.AccountBean;
import com.ara.common.kernel.base.BaseView;
import com.ara.common.kernel.bean.BaseBean;

import io.reactivex.rxjava3.core.Flowable;


/**
 * Created by XieXin on 2020/6/18.
 * 登录 MVP协议
 */
public class LoginContract {

    public interface View extends BaseView {
        void onLoginSuccess(AccountBean bean);
    }

    public interface Presenter {
        void login(String uuid);

    }

    public interface Model {
        Flowable<BaseBean<AccountBean>> login(String uuid);

    }
}
